:: setenv.cmd
:: purpose: set variables 
::  Copyright (C) 2013 Testmonger
::  See https://maketestdata.codeplex.com/license

@echo off

FOR /f "tokens=1,* delims==" %%a IN (inroad.properties) DO (
if "%%a" == "db.host" (set dbhost=%%b)
if "%%a" == "db.name" (set dbname=%%b)
if "%%a" == "inroad.home" (set inroad_home=%%b)
)
@echo off
set is_error=0
